<?php
global $_W, $_GPC;

$list = pdo_getall("iwe7_builder_forms", array('uniacid' => $_W['uniacid']));

foreach ($list as &$li) {
    $li['params'] = unserialize($li['params']);
    $li['fields'] = unserialize($li['fields']);
}
unset($li);

die(json_encode($list));